package com.zhongshengnetwork.rightbe.common.topgrid.model;

import org.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * ITEM的对应可序化队列属性
 */
public class ChannelItem implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -6465237897027410019L;
    /**
     * 栏目对应ID
     */
    public Integer id;//id是负数的是固定的，不可改变顺序，也不可删除
    /**
     * 栏目对应NAME
     */
    public String name;
    /**
     * 栏目在整体中的排序顺序  rank
     */
    public Integer orderId;
    /**
     * 栏目是否选中
     */
    public Integer selected;

    public Boolean isCurrent;

    public Boolean isWZT;

    /**
     * 是否是新添加的栏目
     */
    public Integer newItem;

    public ChannelItem() {
    }

    public ChannelItem(int id, String name, int orderId, int selected, int newItem, boolean isCurrent) {
        this.id = Integer.valueOf(id);
        this.name = name;
        this.orderId = Integer.valueOf(orderId);
        this.selected = Integer.valueOf(selected);
        this.newItem = newItem;
        this.isCurrent = isCurrent;
    }

    public int getId() {
        return this.id.intValue();
    }

    public String getName() {
        return this.name;
    }

    public int getOrderId() {
        return this.orderId.intValue();
    }

    public Integer getSelected() {
        return this.selected;
    }

    public Integer getNewItem() {
        return this.newItem;
    }

    public void setId(int paramInt) {
        this.id = Integer.valueOf(paramInt);
    }

    public void setName(String paramString) {
        this.name = paramString;
    }

    public void setOrderId(int paramInt) {
        this.orderId = Integer.valueOf(paramInt);
    }

    public void setSelected(Integer paramInteger) {
        this.selected = paramInteger;
    }

    public Boolean getCurrent() {
        return isCurrent;
    }

    public void setCurrent(Boolean current) {
        isCurrent = current;
    }

    public void setNewItem(Integer paramInteger) {
        this.newItem = paramInteger;
    }

    public String toString() {
        return "ChannelItem [id=" + this.id + ", name=" + this.name
                + ", selected=" + this.selected+ ", isCurrent=" + this.isCurrent
                + ", newItem=" + this.newItem + "]";
    }
}